package com.northpool.operator.common.stpclient;

import com.northpool.operator.utils.StpOperatorHelper;
import com.northpool.stpclient.StpClient;

import java.util.Map;

public abstract class StpClientOperatorBase extends StpOperatorHelper {
    protected StpClient client;

    public StpClientOperatorBase() {
        Map<String, String> envMap = System.getenv();
        this.client = new StpClient(envMap.getOrDefault("STP_SERVER_URL", "http://localhost:8088/stpserver"));
    }
}
